package com.swu.pad.event.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.swu.pad.event.entity.Event;

public interface EventDao extends JpaRepository<Event, String>{
            //根据用户id查找所有事件
	public List<Event> findEventByUserId(String userId);
}
